home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / util / mousky13.zip / MOUSEKEY.TXT < prev    next >
Text File  |  1994-06-16  |  9KB  |  203 lines

  1. MouseKey V1.30 - Assign keys and commands to mouse buttons
  2.                  Copyright 1993,94 by Andreas Furrer
  3. ===================================================================
  4.  
  5. With MouseKey you can assign key combinations, mouse commands or menu commands 
  6. to mouse buttons. You can have a global setting, a setting for the desktop, 
  7. a setting for the non client area of the windows or application specific 
  8. setting.
  9. Now you can use your right or middle mouse button in applications that
  10. doesn't support the use of the right or middle mouse button.
  11. But you can also override the default behaviour of an appliaction if
  12. it already supports the use of the right or middle mouse button.
  13. All mouse buttons (left, middle and right) can be combined with a 
  14. combination of <SHIFT> and <CTRL> so you can setup up to 11 different key-
  15. combinations or commands to mouse buttons. (The left mouse button without
  16. <SHIFT> and <CTRL> can't be assigned a key or command.)
  17.  
  18. MouseKey needs Windows 3.1, it will not work with Windows 3.0.
  19.  
  20.  
  21. Installation
  22. ============
  23. The installation of MouseKey is very easy:
  24. 1) Copy MOUSEKEC.CPL into your WINDOWS\SYSTEM directory.
  25. 2) Copy MOUSEKEY.EXE into any directory and create a new item
  26.    for MOUSEKEY.EXE in your startup group.
  27.    It is the best to have MouseKey as the last (lower right) icon in you 
  28.    startup group so another loaded application will not override the
  29.    function of MouseKey.
  30. 3) Restart Windows
  31.  
  32.  
  33. MouseKey runs invisible. If you want to close it, just start it a second
  34. time or close it with a taskmanager that lets you see hidden windows.
  35. (Like FTaskman - a very nice, useful and FREE taskmanager replacement)
  36.  
  37.  
  38.  
  39. Configuration
  40. =============
  41. For the configuration of MouseKey start your control panel and open
  42. the MouseKey icon.
  43. There is a setting '<Desktop>' for the desktop of windows, a default setting
  44. '<Default>' for all applications, a setting <NonClientArea> for the non
  45. client area of a window (e.g. the titel bar or the border) but for each
  46. application you don't want the default you can add an entry and change the
  47. settings for this application. To create a setting for a new application choose
  48. the 'New' button and select the filename of the application. To delete an
  49. entry, select it in the listbox and press 'Delete'. The <Default>, <Desktop>
  50. and <NonClientArea> entries couldn't be deleted.
  51.  
  52. You can assign keys, mouse clicks or commands to the three mouse keys in
  53. combination with <SHIFT> and <CTRL>.
  54. (Exception: You can't apply a key or command to only the left mouse button
  55. without <SHIFT> or <CTRL>.)
  56. For each combination you can assign:
  57. - a key combination (normaly a menu hotkey like <SHIFT>+<F1>)
  58. - a mouse click combined with <SHIFT>, <CTRL> or <ALT
  59. - a mouse double click 
  60. - a menu command
  61. If you don't assign a value for a combination you will get the default
  62. behaviour of the application/desktop/non client area.
  63.  
  64. If the button "Menu command" is unchecked for a combination, you can press
  65. the key combination (e.g. <SHIFT>+<F1>) you want in the edit field. You will
  66. see the names of the pressed keys. If you want to delete a key definition
  67. press <BACKSPACE>.
  68.  
  69. There are two key combinations which can't be entered: <CTRL>+<ESC>
  70. and <BACKSPACE>. If you want to assign this keys, you have to open the combo-
  71. box and select the specific entry.
  72. In the list of the combobox you will also see all mousekeys with combinations 
  73. of <SHIFT>, <ALT> and <CTRL>. You can also assign one of these entries to a
  74. combination.
  75. In the combobox there are two other special items:
  76. <as 'default'> will let you setup the same value as you have for the <default>
  77. entry. With this you can easily change the setting of some combinations for a
  78. special application but having the default values for the others. If you
  79. create a new setting for an application, this value is assigned for all
  80. combinations. Assigning this value to the <default> setting is the same as
  81. an empty entry.
  82. <no action> lets you overide the normal action of an application with no
  83. action. Now if you press the combination you will not get any action even
  84. if the application will normally do something. 
  85. The last entries of the combobox are the combinations of the tree mouse buttons
  86. combined with <SHIFT>, <ALT> and <CTRL> and the double click of the three
  87. mouse buttons.
  88.  
  89.  
  90. ATTENTION! Be careful with assignments of mouse buttons to another mouse button.
  91.            It is possible that you will create an infinit loop!
  92.  
  93.  
  94. If you want to assign a menu command you have to check the "Menu command"
  95. button and enter the value of the command. Because you normally will not
  96. know the value of a menu command, you can use the "Watch menu commands"
  97. button. If you press the button, you will get a dialog which will always
  98. keep in front. Now you can switch to the application you want to know
  99. the value of a menu command and select the menu entry. During the selection
  100. of menu entries, you will see the value of the menu commands and their menutext
  101. in the listbox of the dialog.
  102.  
  103. Here are some examples on how to setup MoseKey:
  104.  
  105. - You want that the right mouse button will always open the help for
  106.   any application:
  107.   Select <default> in the listbox and press <F1> in the 'Right' editbox.
  108.  
  109. - Problems with double clicking? Why not setup the right mouse button combined
  110.   with <SHIFT> to act like a left button double click?
  111.   Here is the solution:
  112.   Select <default> in the listbox and choose the entry 'Left Button Double
  113.   Click' in the 'Right+<Shift>' combobox.
  114.  
  115. - Opening the task manager by a simple click with the right mouse button
  116.   onto the title bar of a window:
  117.   Select <NonClientArea> and choose <ALT>+<ESC> in the 'Right' combobox.
  118.  
  119. - For Notepad you want to assign the middle mouse button pressed together
  120.   with <SHIFT> to insert the current time and date:
  121.   If you don't already have an entry for Notepad in the listbox, create it
  122.   now with the 'New' button.
  123.   Now select Notepad in the listbox and enter <F5> in the 'Middle+Shift'
  124.   editbox.
  125.   (<F5> is the hotkey of the menu command 'Time/Date')
  126.  
  127. - Now you want to open the search dialog in Notepad when pressing the
  128.   right mouse key together with <SHIFT>.
  129.   The menu command 'Search...' doesn't have a hotkey so we have to use
  130.   a menu command. To get the value of the menuitem 'Search...' we need
  131.   to open the 'Watch menu commands' dialog. Now if we start Notepad and
  132.   select the menuitem 'Search..' we will see something like
  133.   "3   &Search..."
  134.   in the listbox of the dialog. Now we know that the value of the
  135.   menuitem 'Search...' is 3.
  136.   Now we close the 'Watch menu commands' dialog and select the entry
  137.   Notepad in the listbox. In the line 'Right+Shift' we check the
  138.   button Menu command and enter the value 3 in the editbox.
  139.  
  140.  
  141. Note: The settings of MouseKey will override the normal behaviour of an
  142. application. So if an application already uses e.g the right mouse button
  143. to do some action you can override this with a setting in MouseKey.
  144.  
  145.  
  146. Limitations
  147. ===========
  148. It is possible that MouseKey will not work correct with some applications.
  149. There are also some applications which will create its windows not from within 
  150. the main program but from within DLLs (or other modules). For this applications
  151. you have to create a setting for the main program and for the name of
  152. the DLLs. (If you don't get the functions you have setup in MouseKey for
  153. some application try to set the setting for each of the DLLs you will find in
  154. the main directory of the application).
  155.  
  156.  
  157. Freeware-Note
  158. =============
  159. You can use and distribute MouseKey free, as long as the following files 
  160. are not changed and you distribute all files together
  161.  
  162. - mousekey.txt
  163. - mousekey.exe
  164. - mousekec.cpl
  165.  
  166. I am programming MouseKey because I have fun and not to make any profit. 
  167. That's why MouseKey is free and you don't have to pay more or less high 
  168. registration charges.I think it is a bad habit, that more and more program 
  169. authors want to have money even for the smallest programs.
  170.  
  171. Long live Freeware!
  172.  
  173.  
  174. If you have problems, comments, suggestions or you detect an error, 
  175. please E-Mail to
  176.  
  177. s_furrer@ira.uka.de
  178.  
  179.  
  180.  
  181. (c) 1993,94 by Andreas Furrer
  182.  
  183.  
  184. Version history
  185. ===============
  186. 1.30: - Added a setting for the non client area of a window.
  187.       - Now you can assign double clicks to a single mouse click.
  188. 1.20: - Added a setting for the desktop window.
  189.       - Added the 'as <default>' and 'no action' value.
  190.       - With some applications you got two or more times the action you have 
  191.         defined for a single mouse click (e.g. with WinWord). This was a
  192.         problem with duplicated Windows messages. I added some functions to 
  193.         detect this messages. I hope MouseKey will now work correct with most
  194.         applications.
  195. 1.11: - The control panel for MouseKey in version 1.10 didn't work on
  196.         most system.
  197. 1.10: - Changed the edit fields in comboboxes. Now you can also assign
  198.         <CTRL><ESC> and <BACKSPACE> or a combination of other mouse buttons
  199.         to the buttons.
  200. 1.01: - Fixed a bug with the icon (if you have choosen to see the icon
  201.         of MouseKey you only saw a white rectangle)
  202. 1.00: - First version of MouseKey.
  203.